搜索资源列表
VC使用CRT调试功能来检测内存泄漏
- VC使用CRT调试功能来检测内存泄漏 C/C++ 编程语言的最强大功能之一便是其动态分配和释放内存,但是中国有句古话:“最大的长处也可能成为最大的弱点”,那么 C/C++ 应用程序正好印证了这句话。在 C/C++ 应用程序开发过程中,动态分配的内存处理不当是最常见的问题。其中,最难捉摸也最难检测的错误之一就是内存泄漏,即未能正确释放以前分配的内存的错误。偶尔发生的少量内存泄漏可能不会引起我们的注意,但泄漏大量内存的程序或泄漏日益增多的程序可能会表现出各种 各样的征兆:从性能不良(并且逐渐降
C++MemoryPool_src
- C++内存池的使用例子,频繁的New和Delete操作会造成内存碎片,通过使用内存池,有效地解决了这个问题-C memory pool examples of the use and frequent New and Delete operations will cause memory debris, through the use of memory pool, effective solution to this problem
mem
- 在了解实时嵌入式操作系统内存管理机制的特点以及实时处理对内存管理需求的基础上,练习并掌握有效处理内存碎片的内存管理机制,同时理解防止内存泄漏问题的良好设计方法。使用预先规划的思想,构建自己的私有内存管理机制,在系统内存池中申请内存,并将其纳入私有内存管理机制中,形成静态预分配内存池; 静态预分配内存池支持一种以上固定长度内存池,如16 字节内存池和256 字节内存池。固定长度内存池的单块长度应考虑体系结构开销,并尽量减少内部碎片;固定长度内存池数量应可配置; 静态预分配内存池与系统内存池
MemoryManagement
- C++编写的内存管理源代码,适合定制自己内存池的程序员参考。
alloc
- 使用c语言实现的内存池,并且进行了封装,与stl配合使用,测试效率
MemoryPool.rar
- 一个内存池的实现,能够减少碎片的产生,只支持普通内存,不支持类空间申请.,The realization of a memory pool, to reduce debris, only to support the common memory, do not support the type of space applications.
61549833MemPool
- 内存池,这是我从同事那里搞到的,用C++实现,很容易理解的-Memory pool, which is where I got from my colleagues, and with C++ to achieve, it is easy to understand
BufPool
- 内存池的设计与实现,用C++实现,对初学者有一定的帮助,代码通俗易懂-Memory Design and Implementation of pool, using C++ to achieve, to have some help for beginners, easy to understand code
mpool
- mpool.c 高效内存池的实现,测试结果良好。-mpool.c efficient memory pool implementation, testing, good results.
mempool
- c 内存池实现,内存复用,包含头文件和源文件-c memory pool implementation, memory reuse, including the header files and source files
Memerypool
- 这是长安大学的数据结构教学程序之一,是关于内存池思想使用的一个C++学习代码,用于了解内存池的应用思想。-This is the data structure of Chang' an University teaching program is one of the memory pool ideas on the use of a C++ to learn the code for the application of ideas about memory pool.
HashDll
- 哈希算法实现的内存池的c语言实现,可以对数据进行管理-Memory pool hash algorithm c language, data management
mempool
- 一个有最大对象个数限制的内存池,概念来源于<<effective C++>>内存池,Scott Meyers 让读者思考如何扩展一下。-An object have the greatest number of restrictions on the memory pool, the concept comes from <<effective C++>> memory pool, Scott Meyers to give readers what
Memory_Management
- 扩展的动态内存机制 任务综述 本任务扩展了自己私有的内存管理机制。首先使用预先规划的思想,使用预先分配的内存池和内存分区,再通过使用消息队列作为内存池的管理机制处理内存块分配与释放的过程,而消息队列中保存的是每个预先申请内存块的地址。当用户需要分配一个内存块时,使用msgQReceive() 函数从消息队列中获取一个相应大小的内存块地址;当用户需要释放一个内存块时,则使用msgQSend()函数将内存块首地址发送回消息队列中。通过这种方法,减少了内存反复申请与释放产生外部碎片的可能
lib_trhead_pool
- c封装的线程池库,并且包含简单高效的内存池.代码接口逻辑清晰,且高效稳定-c package thread pool library, and includes a simple and efficient memory pool. code interface logic, clarity, and the highly efficient and stable ...
mempool
- 一个简单的内存池实现算法,使用C++实现,使用VC6.0可以正常编译通过。-A simple memory pool algorithm, using C++ implementation by using VC6.0 to compile correctly.
CMemoryPool
- 在高效C++编程中看到一个不错的内存池实现方案,这里共享下,大家看看有什么不足-See in efficient C++ programming a good memory pool implementation here to share, take a look at what are the deficiencies
MemeryPool
- c++实现的简单的内存池适合初学者,源码带有注释。-c++ implementation of a simple memory pool for beginners, source code with comments.
stl_malloc
- 用c++实现了stl内存池,用来分配内存和释放内存,并且用vector测试(The STL memory pool is implemented with c++, which is used to allocate memory and release memory, and to test with vector)
c++内存池
- c++内存池,希望对大家有用,大家要好好学习。(it is very valubal for you ,you can stady by yourself.)